/**   
 * @Title: Config.java 
 * @Package com.esun.config 
 * @Description: (存放配置文件) 
 * @author City Jiangsy@500wan.com   
 * @date 2011-6-23 下午05:07:33  
 * Copyright (C) 2011 Shenzhen E-sun Sky Net Technology Co.,ltd.
 */
package com.esun.config;

/**
 * @ClassName: Config
 * @Description: (存放配置文件)
 * @author City Jiangsy@500wan.com
 * @date 2011-6-23 下午05:07:33
 * 
 */
public class Config {

	/**
	 * @author jiangsy 2012-2-15 config文件拆分,网址相关
	 * 
	 * */

	/** 正式发布服务器地址 */
	public static final String POST_ADDRESS = "http://m.500wan.com/rabbit2/interface.php";

	/** 线上服务器测试地址 ,测试用 */
	// public static final String POST_ADDRESS = "http://m.500wan.com/rabbit2test/server_1.6/interface.php";

	// public static final String POST_ADDRESS = "http://m.500wan.com/rabbit2test/rabbit2/interface.php";

	/** 内部服务器202地址,测试用 */
	// public static final String POST_ADDRESS = "http://192.168.65.202/rabbit2/interface.php";

	/** kuroky本机地址,测试用 */
	// public static final String POST_ADDRESS = "http://192.168.65.49:8080/rabbit2_1.6/interface.php";

	/** magic num发送地址 */
	public static final String MAGIC_ADD = "http://m.500wan.com/autorun/interface_ver2.php";

	/** 主站地址 */
	public static final String MASTER_ADDRESS = "wap.500wan.com";

	/** webview基准地址 */
	public static final String WEB_VIEW_BASE = "http://m.500wan.com/rabbit2/webview";

	/** 升级地址 */
	public static final String UPDATE_ADD = "http://m.500wan.com/autorun/interface.php";

	/** 推广信息地址 */
	public static final String PROMOTE_INFO_ADD = "http://m.500wan.com/autorun/interface.php";

	/** 图片下载地址 */
	public static final String PIC_ADDRESS = "http://space.500wan.com/images/trade/center/pic/m_";

	/** 竞彩足球/篮球图片下载地址 */
	public static final String SPORTTERYFOOTBALL_PIC_ADDRESS = "http://m.500wan.com/rabbit2/resource/identifier/";

	/** 广告地址 */
	public static final String URL_ADVERTISING = "http://3g.500wan.com/act/sprfest/common_index";

	/** 北京单场方案信息外链 URL */
	public static final String URLBEIDANFORWEB = "http://trade.500wan.com/pages/comm/viewpath.php?lotid=9&playid=150&paymakeid=";

	/** 财付通初始化请求URL */
	public static final String CAIFUTONG_REQUEST_URL = "http://wap.tenpay.com/cgi-bin/wappayv2.0/wappay_gate.cgi?token_id=";

	/** 3G主页购彩大厅URL */
	public static final String URL_3G_HOME = "http://3g.500wan.com";

	/** 支付宝回调url */
	public static final String ZHIFUBAO_CALLBACK_URL = "http://m.500wan.com/rabbit2/controller/recharge/zhifubao_platform_info.class.php";

	/** 活动框架-活动介绍地址 */
	public static final String ACTIVITY_INTRODUCTION_URL = WEB_VIEW_BASE + "/activities/activity_introduce.php";

	/** 注册WebView地址 */
	public static final String ACTIVITY_REGIST_URL = "http://m.500wan.com/rabbit2/webview/user/userRegist.php";

	/** 活动框架-绑定手机地址 */
	public static final String ACTIVITY_BUND_MOBILE_URL = WEB_VIEW_BASE + "/activities/activity_bund_mobile.php";

	/** 活动框架-充值地址 */
	public static final String ACTIVITY_RECHARGE_MENU_URL = WEB_VIEW_BASE + "/activities/activity_recharge_menu.php";

	/** 银行卡充值(已绑定银行卡) */
	public static final String ACTIVITY_RECHARGE_YINHANGKA_BIND_URL = "http://ws.500wan.com/pages/interface/client/rabbit/user/bankCardCharge.php";

	/** 银行卡充值(未绑定银行卡) */
	public static final String ACTIVITY_RECHARGE_YINHANGKA_UNBIND_URL = "http://ws.500wan.com/pages/interface/client/rabbit/user/bandCardCharge.php";

	/** 绑定银行卡 */
	public static final String ACTIVITY_UNIN_BINDING_URL = "http://ws.500wan.com/pages/interface/client/rabbit/user/bankCard.php";

	/** 开奖信息WebView地址 */
	public static final String ACTIVITY_LOTTERYINFO_URL = "http://ws.500wan.com/pages/interface/client/rabbit/info/kaijiang/lotteryInfo.php";

	/** 手机充值卡充值WebView地址 */
	public static final String ACTUVITY_RECHARGE_BY_PHONECARD = "http://ws.500wan.com/pages/interface/client/rabbit/user/phoneCardCharge.php";

	/** 用户合同代购协议 */
	public static final String USER_DAIGOUXIEYI_WEBVIEW_URL = "http://m.500wan.com/rabbit2/webview/help/xieyi.php";
	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         lotid彩种编号
	 * */

	/** 彩种编号 足球胜负 */
	public static final String SHENGFUCAI = "1";

	/** 彩种编号 双色球 */
	public static final String SHUANGSEQIU = "3";

	/** 彩种编号 七星彩 */
	public static final String QIXINGCAI = "4";

	/** 彩种编号 排列三 */
	public static final String PAILIESAN = "5";

	/** 彩种编号 福彩3D */
	public static final String FUCAI3D = "7";

	/** 彩种编号 22选5 */
	public static final String ERSHIERXUANWU = "8";

	/** 彩种编号, 北京足球单场 */
	public static final String BEIJINGZUQIUDANCHANG = "9";

	/** 彩种编号 七乐彩 */
	public static final String QILECAI = "11";

	/** 彩种编号 六场半全 */
	public static final String LIUCHANGBANQUAN = "15";

	/** 彩种编号 四场进球 */
	public static final String SICHANGJINQIU = "17";

	/** 彩种编号 大乐透 */
	public static final String DALETOU = "28";

	/** 彩种编号 时时彩 */
	public static final String SHISHICAI = "29";

	/** 彩种编号 11选5 */
	public static final String SHIYIXUANWU = "45";

	/** 彩种编号竞彩足球 */
	public static final String JINGCAIZUQIU = "46";

	/** 彩种编号 竞彩蓝球 */
	public static final String JINGCAILANQIU = "47";

	/** 彩种编号 天津快乐10分 */
	public static final String KUAILESHIFEN = "50";

	/** 彩种编号 任选九 */
	public static final String RENXUANJIU = "10000";

	/** 彩种编号 排列五 */
	public static final String PAILIEWU = "10001";

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         固定字符串型配置参数
	 * */

	/** 程序包信息 */
	public static final String APP_PACKAGE_INFO = "com.esun.ui";

	/** 发送数据构建,平台标识,key值 */
	public static final String PLATFORM = "platform";

	/** 平台标识 */
	public static final String ANDROID = "android";

	/** 图片存放位置 */
	public static final String PIC_PATH = "/data/data/com.esun.ui/imgs/";
	/** 支付宝返回结果通知URL */
	public static final String ZHIFUBAO_BACKURL = "";

	/** 继续购买标识 */
	public static final String IS_REBUY = "is_rebuy";

	/** 当前tab标识 */
	public static final String CURRENT_TAB_NUM = "CURRENT_TAB_NUM";

	/** 按钮背景资源 */
	public static final String BG_RESOURCE = "bg_resource";

	/** 当前按钮listener */
	public static final String CURRENT_LISTENER = "current_listener";

	/** url拆分字符串 &playid= */
	public static final String URL_PLAYID = "&playid=";

	/** 竞彩足球开奖信息查询开始日期 */
	public static final String FOOTBALL_LOTTERYINFO_STARTINGDATE = "2010-03-23";

	/** xml解析用,跟节点标识,root */
	public static final String PASER_ROOT = "root";

	/** xml解析用,状态位,state */
	public static final String PASER_STATE = "state";

	/** xml解析用,列表节点,list */
	public static final String PASER_LIST = "list";

	/** xml解析用,列表行,row */
	public static final String PASER_ROW = "row";

	/** xml解析用,业务代码,mid */
	public static final String PASER_MID = "mid";

	/** xml解析用,sessionId,ck */
	public static final String PASER_CK = "ck";

	/** xml解析用,message */
	public static final String PASER_MSG = "message";

	/** 瞅哥这眼神儿,你懂的 */
	public static final String FUNSTRING = "#¬_¬ ";

	/** KENG DIE A ZHE SHI */
	public static final String CRYSTRING = "T_____T ";

	/** 客服电话 */
	public static final String CUSTOMER_SERVICE_TEL = "4000-500-500";

	/** 产品代号 "rabbit" */
	public static final String PRODUCT_NAME = "rabbit";

	/** 默认联盟ID */
	public static final String DEFAULT_LEAGUAGE_NUM = "0000";

	/** "client_preferences" 信息存储文件名称 */
	public static final String CLIENT_PREFERENCES = "client_preferences";

	/** 闹铃提醒ACTION */
	public static final String ALARMACTION = "com.esun.rabbit2.viewer.mainact.optionact.ALARM_NOTIFY_ACTION";

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         可调试参数
	 * */

	/** 自动升级调试参数 -1 升级 0 不升级 1 正常 */
	public static final String UPDATE_DEBUG = "1";

	public static final boolean NOTIFICATION_ICON_DISPLAY_STATE = false;

	/** 十一选五购彩记录周期长度判定,单位:天 */
	public static final String NUM7 = "7";

	/** 最大图片缓存数量 */
	public static final int PIC_SAVE_MAX = 200;

	/** 服务器超时时间 ,单位:毫秒 */
	public static final int SERVER_TIME_OUT = 8000;

	/** 详情方案内容显示最多条数 */
	public static final int CONTENT_SHOW_MAX_NUM = 7;

	/** 合买列表刷新时间周期,单位:毫秒 */
	public static final long HEMAILIST_REFRESH_TIME = 1200000;

	/** 购彩记录详情方案内容显示红球最大值 */
	public static final int RED_MAX_NUM = 17;

	/** 购彩记录详情方案内容显示蓝球最大值 */
	public static final int BLUE_MAX_NUM = 5;

	/** 是否需要检测升级 */
	public static final boolean UPDATE_STATE = true;

	/** 登录密码作用时间 */
	public static final long NEEDINPUTPWD_TIME = 900000;

	/** 双色球投注上限 */
	public static final long MAXIMUM_BET_SHUANGSEQIU = 100000;

	/** 大乐透投注上限 */
	public static final long MAXIMUM_BET_DALETOU = 20000;

	/** ACTION EVENT "2" */
	public static final String ACTION_EVENT = "2";

	/** 账户明细列表每次通信获取信息条数 */
	public static final String PAGE_SIZE = "10";

	/** 升级状态 105 不升级 */
	public static final String NEEDLESS_UPDATE = "105";

	/** 登陆状态 220 登陆锁定 */
	public static final String LOGIN_LOCKED = "220";

	/** 通信状态 通信失败 */
	public static final String COMMUNICATED_FAILED = "109";

	/** 通信状态 通信成功 */
	public static final String COMMUNICATED_SUCCEED = "100";

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         玩法编号
	 * */

	/** 彩票玩法编号,竞彩足球让球胜平负 */
	public static final String JINGCAIZUQIU_RQSPF = "269";

	/** 彩票玩法编号,竞彩篮球胜负 */
	public static final String JINGCAILANQIU_SF = "274";

	/** 彩票玩法编号 ,北京足球单场胜平负 */
	public static final String PLAYID_BEIJINGZUQIUDANCHANG_SHENGPINGFU = "34";

	/** 追号玩法ID 98 */
	public static final String DLT_ZHUIHAO_PLAYID = "98";

	/** 多串过关id "2" */
	public static final String STR_DUOCHUAN_GUOGUAN = "2";

	/** 自由过关id "3" */
	public static final String STR_ZIYOU_GUOGUAN = "3";

	/** 胆拖复式 "135" */
	public static final String STR_DANTUO_FUSHI = "135";

	/** 前二组选胆拖 11选5"261" */
	public static final String STR_QIANER_DANTUO = "261";

	/** 前三组选胆拖 11选5"264" */
	public static final String STR_QIANSAN_DANTUO = "264";

	/** 任选四胆拖 11选5 "265" */
	public static final String STR_RENSI_DANTUO = "265";

	/** 266 任选五胆拖 11选5 */
	public static final String STR_RENWU_DANTUO = "266";

	/** 267 任选六胆拖 11选5 */
	public static final String STR_RENLIU_DANTUO = "267";

	/** 268 任选七胆拖 11选5 */
	public static final String STR_RENQI_DANTUO = "268";

	/** 278 任选二胆拖 11选5 */
	public static final String STR_RENER_DANTUO = "278";

	/** 279 任选三胆拖 11选5 */
	public static final String STR_RENSAN_DANTUO = "279";

	/** 280 任选八胆拖 11选5 */
	public static final String STR_RENBA_DANTUO = "280";

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         用户操作标识
	 * 
	 * */

	/** 用户操作标识,派奖 */
	public static final String USERACTION_PAIJIANG = "52";

	/** 用户操作标识,撤单 */
	public static final String USERACTION_CHEDAN = "46";

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         常用字符串
	 * */

	/** 标识字符串 00 */
	public static final String NUM00 = "00";

	/** 标识字符串 1 */
	public static final String NUM1 = "1";

	/** 标识字符串 2 */
	public static final String NUM2 = "2";

	/** 标识字符串 3 */
	public static final String NUM3 = "3";

	/** 标识字符串 4 */
	public static final String NUM4 = "4";

	/** 标识字符串 5 */
	public static final String NUM5 = "5";

	/** 标识字符串 6 */
	public static final String NUM6 = "6";

	/** 标识字符串 0 */
	public static final String NUM0 = "0";

	/** 标识字符串 100 */
	public static final String NUM100 = "100";

	/** 标识字符串 -1 */
	public static final String NUM_1 = "-1";

	/** 常用字符串 "" */
	public static final String NULLMARK = "";

	/** 常用字符串 " " */
	public static final String ONESPACE = " ";

	/** 常用字符串 "," */
	public static final String COMMA = ",";

	/** 常用字符串 "|" */
	public static final String VERTRAL_LINE = "|";

	/** 常用字符串"&" */
	public static final String AND = "&";

	/** 常用字符串 "[" */
	public static final String LEFT_BR = "[";

	/** 常用字符串 "]" */
	public static final String RIGHT_BR = "]";

	/** 常用字符串 "..." */
	public static final String ELLIPSIS = "...";

	/** 常用字符串 < */
	public static final String LEFT_ABR = "<";

	/** 常用字符串 ">" */
	public static final String RIGHT_ABR = ">";

	/** 常用字符串 "/" */
	public static final String SLASH_LINE = "/";

	/** 常用字符串 "=" */
	public static final String EQUAL_SIGN = "=";

	/** 常用字符串 "." */
	public static final String RADIX_POINT = ".";

	/** 常用字符串 "\"" */
	public static final String QUOTATION_MARKS = "\"";

	/** 常用字符串 "-" */
	public static final String HORIZONTAL_LINE = "-";

	/** 常用字符串 "%" */
	public static final String PERCENT = "%";

	/** 常用字符串 "(" */
	public static final String LEFT_ROUND_BR = "(";

	/** 常用字符串 ")" */
	public static final String RIGHT_ROUND_BR = ")";

	/** 常用字符串 ";" */
	public static final String SEMICOLON = ";";

	/** 常用字符串 "#" */
	public static final String JINGHAO = "#";

	/** 常用字符串 "$" */
	public static final String DOLLAR = "$";

	/** 常用字符串 "*" */
	public static final String XINGHAO = "*";

	/** 常用字符串 "#" */
	public static final char CHAR_JINGHAO = '#';

	/** 常用字符 " */
	public static final char CHAR_SPACE = ' ';

	/** 常用字符串 ":" */
	public static final String MAOHAO = ":";

	/** 标识字符串,操作开始 */
	public static final String OPTIONIS_START = "> START <<<---------------------------------->> ";

	/** 标识字符串,操作结束 */
	public static final String OPTIONIS_END = "---------------------------------->>> END <<< ";

	/** 常用字符串"txt" */
	public static final String STR_TXT = "txt";

	/** 常用字符串"web" */
	public static final String STR_WEB = "web";

	/** 常用字符串"yes" */
	public static final String STR_YES = "yes";

	/** 常用字符串"no" */
	public static final String STR_NO = "no";

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , <br>
	 *         通讯结果标识位
	 * */

	/** 通信失败.. */
	public static final int CONNECTION_FAIL = 100004;

	/** 支付失败.. */
	public static final int PAY_FAIL = 100006;

	/** 提交刷新 */
	public static final int DO_REFRESH = 100005;

	/** 需要升级 */
	public static final int NEED_UPDATE = 1000001;

	/** 通讯成功 */
	public static final int COMMUNICATER_SUCCESS = 1000010000;

	/************************ end ***************************/

	/**
	 * @author jiangsy 2012-2-15 config拆分 , 拼接url
	 * */

	/** 玩法介绍地址,合买 */
	public static final String WHATIS_HEMAI_WEB_ADD = WEB_VIEW_BASE + "/what_is_hemai.php";

	/** 玩法介绍地址 ,双色球 */
	public static final String SHUANGSEQIU_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/fileread_shuangseqiu.php";

	/** 玩法介绍地址 ,大乐透 */
	public static final String DALETOU_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/fileread_daletou.php";

	/** 玩法介绍地址 ,竞彩足球让球胜平负 */
	public static final String SPORTTERYFOOTBALL_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/jczq_rqspf_introduce.php";

	/** 玩法介绍地址 ,足彩胜负 */
	public static final String SPORTTERYFOOTBALLSHENGFU_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/fileread_zucaishengfu.php";
	/** 玩法介绍地址 ,竞彩篮球胜负 */
	public static final String SPORTTERYBASKETBALL_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/fileread_jingcailanqiu.php";

	/** 玩法介绍地址 ,北京单场 */
	public static final String BEIDAN_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/fileread_beidan.php";

	/** 玩法介绍地址 ,十一选五 */
	public static final String SHIYIXUANWU_INTRODUCE_WEB_ADD = WEB_VIEW_BASE + "/fileread_11xuan5.php";

	/** 十一选五近期开奖信息 */
	public static final String SHIYIXUANWU_RECENT_FIVE = WEB_VIEW_BASE + "/zoushi/shiyixuanwu/opencode.php";

	/** 帮助WebView地址 */
	public static final String HELP_WEB_URL = WEB_VIEW_BASE + "/help.php";

	/** 购彩记录txt url通用部分 */
	public static final String TXT_URL_PUBLIC = WEB_VIEW_BASE + "/find_txt.php?lotid=";

	/** 解锁地址 */
	public static final String URL_UNLOCK = WEB_VIEW_BASE + "/lock_android/verify.php";

	/** 大乐透详细开奖信息地址 */
	public static final String STRDALETOUURL = WEB_VIEW_BASE + "/dltlotteryinfo.php?expect=";

	/** 双色球详细开奖信息地址 */
	public static final String STRSHUANGSEQIUURL = WEB_VIEW_BASE + "/ssqlotteryinfo.php?expect=";

	/** 福彩3D胜负详细开奖信息地址 */
	public static String STRFUCAISANDIURL = WEB_VIEW_BASE + "/lotteryinfo/sd.php?expect=";

	/** 任九/足球胜负详细开奖信息地址 */
	public static final String STRSHENGFUURL = WEB_VIEW_BASE + "/lotteryinfo/sfc.php?expect=";

	/** 双色球购彩记录txt URL */
	public static final String TXTURLSSQ = TXT_URL_PUBLIC + SHUANGSEQIU + URL_PLAYID;

	/** 大乐透购彩记录txt URL */
	public static final String TXTURLDLT = TXT_URL_PUBLIC + DALETOU + URL_PLAYID;

	/** 11选5购彩记录txt URL */
	public static final String TXTURLSYXW = TXT_URL_PUBLIC + SHIYIXUANWU + URL_PLAYID;

	/** 北京单场购彩记录txt URL */
	public static final String TXTURLBEIDAN = TXT_URL_PUBLIC + BEIJINGZUQIUDANCHANG + URL_PLAYID;

	/** 竞彩足球购彩记录txt URL */
	public static final String TXTURLFOOTBALL = TXT_URL_PUBLIC + JINGCAIZUQIU + URL_PLAYID;

	/** 竞彩篮球购彩记录txt URL */
	public static final String TXTURLBASKETBALL = TXT_URL_PUBLIC + JINGCAILANQIU + URL_PLAYID;

	/** 福彩3D购彩记录txt URL */
	public static final String TXTURLFUCAI3D = TXT_URL_PUBLIC + FUCAI3D + URL_PLAYID;

	/** 胜负彩购彩记录txt URL */
	public final static String SHENGFU_TXT_URL = Config.TXT_URL_PUBLIC + SHENGFUCAI + URL_PLAYID;

	/** 任选九购彩记录txt URL */
	public final static String RENJIU_TXT_URL = Config.TXT_URL_PUBLIC + RENXUANJIU + URL_PLAYID;

	/************************ end ***************************/

}
